package com.ems.dao.Invigilate.room;

import com.ems.pojo.Invigilate.room.TestScoreResult;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Auther: 伟伟
 * @Date: 2020/3/12
 * @Description: 描述
 * @Version: 1.0
 */
public interface TestScoreResultDao {
    public void addTestScoreResult(TestScoreResult testScoreResult);

    public List<TestScoreResult> scoreStatistics(Map<String, Object> map);

    public int getRefererInfoCount(@Param("start") int start, @Param("end") int end,@Param("rp_id") int rp_id);

    public int getRefererInfoCount2(@Param("start") int start,@Param("rp_id") int rp_id);

    public List<TestScoreResult> getTestScoreResultByRpId(int rp_id);

    public void deleteTestScoreResultByRpId(int rp_id);

    public TestScoreResult getTestScoreResultByRpIdAndId(@Param("rp_id") int rp_id,@Param("id") int id);

    public List<TestScoreResult> queryTsrById(int id);

    public TestScoreResult examinationStatusQuery(@Param("id") int id, @Param("rp_id") int rp_id);
}
